<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::DiffusionReactionMaterial&lt; BaseParticlesType, BaseMaterialType &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">DiffusionReactionMaterial</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_s_p_h_1_1_diffusion_reaction_material-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::DiffusionReactionMaterial&lt; BaseParticlesType, BaseMaterialType &gt; Class Template Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Complex material for diffusion or/and reactions.  
 <a href="class_s_p_h_1_1_diffusion_reaction_material.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="diffusion__reaction_8h_source.html">diffusion_reaction.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac3b04fe5b64e8374b18142c63dcadc74"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html#ac3b04fe5b64e8374b18142c63dcadc74">DiffusionReactionMaterial</a> ()</td></tr>
<tr class="separator:ac3b04fe5b64e8374b18142c63dcadc74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a129c308dd850749a9e8a5161630121f9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html#a129c308dd850749a9e8a5161630121f9">DiffusionReactionMaterial</a> (<a class="el" href="class_s_p_h_1_1_base_reaction_model.html">BaseReactionModel</a> *species_reaction)</td></tr>
<tr class="separator:a129c308dd850749a9e8a5161630121f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa18fb6a34828623808f9496176e20a0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html#afa18fb6a34828623808f9496176e20a0">getNumberOfSpecies</a> ()</td></tr>
<tr class="separator:afa18fb6a34828623808f9496176e20a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d4bb22f601d41db5e573a9355ff200a"><td class="memItemLeft" align="right" valign="top">StdVec&lt; <a class="el" href="class_s_p_h_1_1_base_diffusion.html">BaseDiffusion</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html#a7d4bb22f601d41db5e573a9355ff200a">getDiffusionSpecies</a> ()</td></tr>
<tr class="separator:a7d4bb22f601d41db5e573a9355ff200a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e1bdfc902c0dcd3a9540ef597e3e6b1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_base_reaction_model.html">BaseReactionModel</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html#a2e1bdfc902c0dcd3a9540ef597e3e6b1">getReactionModel</a> ()</td></tr>
<tr class="separator:a2e1bdfc902c0dcd3a9540ef597e3e6b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32436a338edbc5a36c4e062b612db954"><td class="memItemLeft" align="right" valign="top">map&lt; string, <a class="el" href="classsize__t.html">size_t</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html#a32436a338edbc5a36c4e062b612db954">getSpeciesIndexMap</a> ()</td></tr>
<tr class="separator:a32436a338edbc5a36c4e062b612db954"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab5473ccc3ee73b04028b239cd18614c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html#aab5473ccc3ee73b04028b239cd18614c">assignDiffusionReactionParticles</a> (<a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">DiffusionReactionParticles</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt; *diffusion_reaction_particles)</td></tr>
<tr class="separator:aab5473ccc3ee73b04028b239cd18614c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07649784c6535035ad8331c87ec19e30"><td class="memItemLeft" align="right" valign="top"><a id="a07649784c6535035ad8331c87ec19e30"></a>
Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html#a07649784c6535035ad8331c87ec19e30">getDiffusionTimeStepSize</a> (Real smoothing_length)</td></tr>
<tr class="memdesc:a07649784c6535035ad8331c87ec19e30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get diffusion time step size. Here, I follow the reference: <a href="https://www.uni-muenster.de/imperia/md/content/physik_tp/lectures/ws2016-2017/num_methods_i/heat.pdf">https://www.uni-muenster.de/imperia/md/content/physik_tp/lectures/ws2016-2017/num_methods_i/heat.pdf</a>. <br /></td></tr>
<tr class="separator:a07649784c6535035ad8331c87ec19e30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d77d8fb9015ffcb01fd4ae46b041902"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html#a1d77d8fb9015ffcb01fd4ae46b041902">initializeDiffusion</a> ()=0</td></tr>
<tr class="separator:a1d77d8fb9015ffcb01fd4ae46b041902"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc50002a857b8788e490a5862d2ef921"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">DiffusionReactionMaterial</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html#afc50002a857b8788e490a5862d2ef921">PointToThisObject</a> () override</td></tr>
<tr class="separator:afc50002a857b8788e490a5862d2ef921"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a79430183ccaea36384dd3d54b89a5160"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html#a79430183ccaea36384dd3d54b89a5160">assignDerivedMaterialParameters</a> () override</td></tr>
<tr class="separator:a79430183ccaea36384dd3d54b89a5160"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3af74807ed8e3f8cafd9fd3190760ea0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html#a3af74807ed8e3f8cafd9fd3190760ea0">insertASpecies</a> (string species_name)</td></tr>
<tr class="memdesc:a3af74807ed8e3f8cafd9fd3190760ea0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert a species.  <a href="#a3af74807ed8e3f8cafd9fd3190760ea0">More...</a><br /></td></tr>
<tr class="separator:a3af74807ed8e3f8cafd9fd3190760ea0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a6c6417797c31d67fd80264feed5134cf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html#a6c6417797c31d67fd80264feed5134cf">number_of_species_</a></td></tr>
<tr class="separator:a6c6417797c31d67fd80264feed5134cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a905a29d5dad718e0fc2ad51a358979b3"><td class="memItemLeft" align="right" valign="top">map&lt; string, <a class="el" href="classsize__t.html">size_t</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html#a905a29d5dad718e0fc2ad51a358979b3">species_indexes_map_</a></td></tr>
<tr class="separator:a905a29d5dad718e0fc2ad51a358979b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe0d1dcde9013eaa58c221c03396f8f7"><td class="memItemLeft" align="right" valign="top">StdVec&lt; <a class="el" href="class_s_p_h_1_1_base_diffusion.html">BaseDiffusion</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html#afe0d1dcde9013eaa58c221c03396f8f7">species_diffusion_</a></td></tr>
<tr class="separator:afe0d1dcde9013eaa58c221c03396f8f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e934e496e6bc76cfac9878df8ff36d7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_base_reaction_model.html">BaseReactionModel</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html#a5e934e496e6bc76cfac9878df8ff36d7">species_reaction_</a></td></tr>
<tr class="separator:a5e934e496e6bc76cfac9878df8ff36d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4f0b595243d37c432706f000aceae57"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">DiffusionReactionParticles</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html#ae4f0b595243d37c432706f000aceae57">diffusion_reaction_particles_</a></td></tr>
<tr class="separator:ae4f0b595243d37c432706f000aceae57"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt;<br />
class SPH::DiffusionReactionMaterial&lt; BaseParticlesType, BaseMaterialType &gt;</h3>

<p>Complex material for diffusion or/and reactions. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ac3b04fe5b64e8374b18142c63dcadc74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac3b04fe5b64e8374b18142c63dcadc74">&#9670;&nbsp;</a></span>DiffusionReactionMaterial() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">SPH::DiffusionReactionMaterial</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::<a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">DiffusionReactionMaterial</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructor for material only with diffusion. </p>

</div>
</div>
<a id="a129c308dd850749a9e8a5161630121f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a129c308dd850749a9e8a5161630121f9">&#9670;&nbsp;</a></span>DiffusionReactionMaterial() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">SPH::DiffusionReactionMaterial</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::<a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">DiffusionReactionMaterial</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_base_reaction_model.html">BaseReactionModel</a> *&#160;</td>
          <td class="paramname"><em>species_reaction</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructor for material with diffusion and reaction. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a79430183ccaea36384dd3d54b89a5160"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79430183ccaea36384dd3d54b89a5160">&#9670;&nbsp;</a></span>assignDerivedMaterialParameters()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">SPH::DiffusionReactionMaterial</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::assignDerivedMaterialParameters </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>assign derived material properties </p>

<p>Reimplemented in <a class="el" href="class_s_p_h_1_1_local_mono_field_electro_physiology.html#af0d32cb1324fc692264a3014d69c2384">SPH::LocalMonoFieldElectroPhysiology</a>, and <a class="el" href="class_s_p_h_1_1_mono_field_electro_physiology.html#a3926b5e0471f71195c23f24b4f2a6986">SPH::MonoFieldElectroPhysiology</a>.</p>

</div>
</div>
<a id="aab5473ccc3ee73b04028b239cd18614c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab5473ccc3ee73b04028b239cd18614c">&#9670;&nbsp;</a></span>assignDiffusionReactionParticles()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">SPH::DiffusionReactionMaterial</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::assignDiffusionReactionParticles </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">DiffusionReactionParticles</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt; *&#160;</td>
          <td class="paramname"><em>diffusion_reaction_particles</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>assign particles to this material </p>

</div>
</div>
<a id="a7d4bb22f601d41db5e573a9355ff200a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d4bb22f601d41db5e573a9355ff200a">&#9670;&nbsp;</a></span>getDiffusionSpecies()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">StdVec&lt;<a class="el" href="class_s_p_h_1_1_base_diffusion.html">BaseDiffusion</a>*&gt; <a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">SPH::DiffusionReactionMaterial</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::getDiffusionSpecies </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get diffusion species </p>

</div>
</div>
<a id="afa18fb6a34828623808f9496176e20a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa18fb6a34828623808f9496176e20a0">&#9670;&nbsp;</a></span>getNumberOfSpecies()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsize__t.html">size_t</a> <a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">SPH::DiffusionReactionMaterial</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::getNumberOfSpecies </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get number of species. </p>

</div>
</div>
<a id="a2e1bdfc902c0dcd3a9540ef597e3e6b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e1bdfc902c0dcd3a9540ef597e3e6b1">&#9670;&nbsp;</a></span>getReactionModel()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_base_reaction_model.html">BaseReactionModel</a>* <a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">SPH::DiffusionReactionMaterial</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::getReactionModel </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get reaction model </p>

</div>
</div>
<a id="a32436a338edbc5a36c4e062b612db954"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32436a338edbc5a36c4e062b612db954">&#9670;&nbsp;</a></span>getSpeciesIndexMap()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">map&lt;string, <a class="el" href="classsize__t.html">size_t</a>&gt; <a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">SPH::DiffusionReactionMaterial</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::getSpeciesIndexMap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get species to index map. </p>

</div>
</div>
<a id="a1d77d8fb9015ffcb01fd4ae46b041902"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d77d8fb9015ffcb01fd4ae46b041902">&#9670;&nbsp;</a></span>initializeDiffusion()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">SPH::DiffusionReactionMaterial</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::initializeDiffusion </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Initialize diffusion material. </p>

<p>Implemented in <a class="el" href="class_s_p_h_1_1_local_mono_field_electro_physiology.html#a4f66b877b7ff349909cb766712ed50b5">SPH::LocalMonoFieldElectroPhysiology</a>, and <a class="el" href="class_s_p_h_1_1_mono_field_electro_physiology.html#a2d0c9b6a7c8406b9c15bc9a78b3c73ca">SPH::MonoFieldElectroPhysiology</a>.</p>

</div>
</div>
<a id="a3af74807ed8e3f8cafd9fd3190760ea0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3af74807ed8e3f8cafd9fd3190760ea0">&#9670;&nbsp;</a></span>insertASpecies()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">SPH::DiffusionReactionMaterial</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::insertASpecies </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>species_name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Insert a species. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">species_name</td><td>Name of species </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afc50002a857b8788e490a5862d2ef921"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc50002a857b8788e490a5862d2ef921">&#9670;&nbsp;</a></span>PointToThisObject()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">DiffusionReactionMaterial</a>&lt;<a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a>&gt;* <a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">SPH::DiffusionReactionMaterial</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::PointToThisObject </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>the interface for dynamical cast </p>

<p>Reimplemented in <a class="el" href="class_s_p_h_1_1_local_mono_field_electro_physiology.html#a2f2d7945024607f7799da32d160f6357">SPH::LocalMonoFieldElectroPhysiology</a>, and <a class="el" href="class_s_p_h_1_1_mono_field_electro_physiology.html#a542d07690fbe8495be5e919bf9db9d2d">SPH::MonoFieldElectroPhysiology</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ae4f0b595243d37c432706f000aceae57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4f0b595243d37c432706f000aceae57">&#9670;&nbsp;</a></span>diffusion_reaction_particles_</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_diffusion_reaction_particles.html">DiffusionReactionParticles</a>&lt;<a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a>&gt;* <a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">SPH::DiffusionReactionMaterial</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::diffusion_reaction_particles_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>particles for this material </p>

</div>
</div>
<a id="a6c6417797c31d67fd80264feed5134cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c6417797c31d67fd80264feed5134cf">&#9670;&nbsp;</a></span>number_of_species_</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsize__t.html">size_t</a> <a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">SPH::DiffusionReactionMaterial</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::number_of_species_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Total number of species. </p>

</div>
</div>
<a id="afe0d1dcde9013eaa58c221c03396f8f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe0d1dcde9013eaa58c221c03396f8f7">&#9670;&nbsp;</a></span>species_diffusion_</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">StdVec&lt;<a class="el" href="class_s_p_h_1_1_base_diffusion.html">BaseDiffusion</a>*&gt; <a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">SPH::DiffusionReactionMaterial</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::species_diffusion_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>all diffusion species and diffusion relation. </p>

</div>
</div>
<a id="a905a29d5dad718e0fc2ad51a358979b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a905a29d5dad718e0fc2ad51a358979b3">&#9670;&nbsp;</a></span>species_indexes_map_</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">map&lt;string, <a class="el" href="classsize__t.html">size_t</a>&gt; <a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">SPH::DiffusionReactionMaterial</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::species_indexes_map_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Map from species names to indexes. </p>

</div>
</div>
<a id="a5e934e496e6bc76cfac9878df8ff36d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e934e496e6bc76cfac9878df8ff36d7">&#9670;&nbsp;</a></span>species_reaction_</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class BaseParticlesType = BaseParticles, class BaseMaterialType = BaseMaterial&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_base_reaction_model.html">BaseReactionModel</a>* <a class="el" href="class_s_p_h_1_1_diffusion_reaction_material.html">SPH::DiffusionReactionMaterial</a>&lt; <a class="el" href="class_s_p_h_1_1_base_particles_type.html">BaseParticlesType</a>, <a class="el" href="class_s_p_h_1_1_base_material_type.html">BaseMaterialType</a> &gt;::species_reaction_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The reaction model for all reactive species. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>SPHINXsys/src/shared/materials/<a class="el" href="diffusion__reaction_8h_source.html">diffusion_reaction.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
